
<h3>Resident's Information</h3>
<form name="residentform" method="post" onSubmit="return OnSubmitForm();">
<?php $row = $info->row();?>
<div id="content">

	<h3><a href="#section1">Basic Information</a></h3>
	<div>
		<table class="centeredtable">
			<tr><td width="120px"></td><td width="300px"></td></tr>
			<tr><td>Student Number:</td><td><input type="text" disabled="true" class="longobject2" value="<?php echo $row->student_number;?>"/></td></tr>
			<tr><td>First Name:</td><td><input type="text" class="longobject2" value="<?php echo $row->first_name;?>" name="first_name"/></td></tr>
			<tr><td>Middle Name:</td><td><input type="text" class="longobject2" value="<?php echo $row->middle_name;?>" name="middle_name"/></td></tr>
			<tr><td>Last Name:</td><td><input type="text" class="longobject2" value="<?php echo $row->last_name;?>" name="last_name"/></td></tr>
			<tr><td>Gender:</td><td><input type="text" class="longobject2" value="<?php echo $row->gender;?>" name="gender"/></td></tr>
			<tr><td>Civil Status:</td><td><input type="text" class="longobject2" value="<?php echo $row->civil_status;?>" name="civil_status"/></td></tr>
			<tr><td>Birthday:</td><td><input type="text" class="longobject2" value="<?php echo $row->birthday;?>" id="datepicker" name="birthday"/></td></tr>
			<tr><td>Religion:</td><td><input type="text" class="longobject2" value="<?php echo $row->religion;?>" name="religion"/></td></tr>
		</table>
	</div>
	
	<h3><a href="#section2">College and Contact Information</a></h3>
	<div>
		<table class="centeredtable">
			<tr><td width="120px"></td><td width="300px"></td></tr>
			<tr><td>Course:</td><td><input type="text" class="longobject2" value="<?php echo $row->course;?>" name="course"/></td></tr>
			<tr><td>College:</td><td><input type="text" class="longobject2" value="<?php echo $row->college;?>" name="college"/></td></tr>
			<tr><td>Classification:</td><td><input type="text" class="longobject2" value="<?php echo $row->classification;?>" name="classification"/></td></tr>
			<tr><td>Home Address:</td><td><input type="text" class="longobject2" value="<?php echo $row->home_address;?>" name="home_address"/></td></tr>
			<tr><td>Telephone Number:</td><td><input type="text" class="longobject2" value="<?php echo $row->telephone_number;?>" name="telephone_number"/></td></tr>
			<tr><td>Email Address:</td><td><input type="text" class="longobject2" value="<?php echo $row->email_address;?>" name="email_address"/></td></tr>
			<tr><td>Region:</td><td><input type="text" class="longobject2" value="<?php echo $row->region;?>" name="region"/></td></tr>
		</table>
	</div>
	
	<h3><a href="#section3">Other Information</a></h3>
	<div>
		<table class="centeredtable">
			<tr><td width="120px"></td><td width="300px"></td></tr>
			<tr><td>Name of Father:</td><td><input type="text" class="longobject2" value="<?php echo $row->name_of_father;?>" name="name_of_father"/></td></tr>
			<tr><td>Contact Number:</td><td><input type="text" class="longobject2" value="<?php echo $row->telnumber_of_father;?>" name="telnumber_of_father"/></td></tr>
			<tr><td>Name of Mother:</td><td><input type="text" class="longobject2" value="<?php echo $row->name_of_mother;?>" name="name_of_mother"/></td></tr>
			<tr><td>Contact Number:</td><td><input type="text" class="longobject2" value="<?php echo $row->telnumber_of_mother;?>" name="telnumber_of_mother"/></td></tr>
			<tr><td>Guardian:</td><td><input type="text" class="longobject2" value="<?php echo $row->name_of_guardian;?>" name="name_of_guardian"/></td></tr>
			<tr><td>Contact Number:</td><td><input type="text" class="longobject2" value="<?php echo $row->telnumber_of_guardian;?>" name="telnumber_of_guardian"/></td></tr>
		</table>
	</div>
	
</div><!-- End content -->
<br/>
	<input type="hidden" value="<?php echo $row->student_number;?>" name="student_number"/>
	<input type="submit" value="Save Changes" class="shortobject" onClick="document.pressed=this.value"/>
	<input type="submit" value="Back to Main" class="shortobject" onClick="document.pressed=this.value"/>
</form>
